#ifndef STATEPLAYING_HPP
#define STATEPLAYING_HPP

#include "AbstractState.hpp"
#include "TTT.hpp"

namespace MA {

class StatePlaying : public AbstractState {

public:
	StatePlaying();

	virtual void bindApp(Application* app);

	virtual void updateLogic();
	virtual void updateRender();

protected:
	virtual void onKeyDown(SDL_Keycode keycode);

	virtual void onMouseDown(uint8_t buttonIndex, int32_t mousePosX, int32_t mousePosY);

private:
    TTT m_ttt;

};

}
#endif // STATEPLAYING_HPP
